﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using RBAC.Service.Dto;

namespace RBAC.Service.Dto
{
    [DataContract]
    public class FunctionDto : BaseDto
    {

        //string
        private String _funcname;
        [DataMember]
        public String FuncName { get { return string.IsNullOrEmpty(_funcname) ? null : _funcname.Trim(); } set { _funcname = value; } }
        //string
        private String _description;
        [DataMember]
        public String Description { get { return string.IsNullOrEmpty(_description) ? null : _description.Trim(); } set { _description = value; } }
        //lookup
        [DataMember]
        public DomainDto Domain { get; set; }
        //Pickup List
        //[DataMember]
        //public int FunctionStatus { get; set; }
        //Pickup List
        [DataMember]
        public int FunctionName { get; set; }
        //lookup
        [DataMember]
        public DomainDto DomainLookup { get; set; }
        //parent class of Function
        //[DataMember]
        //public DomainDto Domain { get; set; }
        [DataMember]
        public int? ProjectId { get; set; }
    }

}